/**
 * DocardCode.com Inc.
 * Copyright (c) 2005-2009 All Rights Reserved.
 */
package com.zhaoyh.util;

import java.math.BigDecimal;

/**
 * 数学工具类
 * 
 * @author chenbug 2009-12-11 上午09:43:28
 * 
 */
public class MathUtils {

	public static final MathUtils INSTANCE = new MathUtils();

	public static int ceil(double d, double b) {
		return (int)Math.ceil(d/b);
	}

	public static void main(String[] args) {
		System.out.println(ceil(1, 1000));

	}
}
